home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Diamond Collection
/
The Diamond Collection (Software Vault)(Digital Impact).ISO
/
cdr32
/
alasaver.zip
/
1BAT.BAK
< prev
next >
Wrap
Text File
|
1995-01-13
|
3KB
|
122 lines
@echo off
rem 1.bat: This is a simple DOS batch file menuing system, which may be
rem used with the alaSAVER screen saver. alaSAVER was designed for use
rem with "alaCARTE", a simple, colorful shareware DOS menuing system.
rem which you might wish to use instead of this unwieldy batch file.
rem
rem YOU CAN CUSTOMIZE THIS BATCH FILE TO FIT YOUR NEEDS. To add an item
rem to the menu, you need to alter this batch file, and the display file
rem "1.ans".
rem
rem Here's an example showing how to do it ...
rem
rem Suppose you want to add SemWare's "Q-Edit" editor as menu item #1
rem
rem As you can see from the following list, the "FIRST" item
rem is selected when you press the "1" key. Scroll down to
rem ":FIRST", and change it ...
rem
rem from ... :FIRST
rem cls
rem 1.bat
rem goto RESET
rem
rem to ... :FIRST
rem c:\qedit
rem q.exe
rem goto RESET
rem
rem i.e., replace "cls" with the path to the new program, and
rem replace "1.bat" with the command that starts the program.
rem
rem To put the name of your program on the menu, save the modified batch
rem file, then open the file "1.ans". You will see that this is an ANSI-
rem coded file ... be careful not to erase any of the characters, or add
rem any unwanted spaces. Replace the "░░░░░1░░░░░" on line 1 with the
rem name of the program you added to the batch file, then save this
rem modified display file.
rem
rem That completes the process. Use the same method to add other programs,
rem or to change the menu setup. In case of emergency, the .ZIP file that
rem contained this file contains backup copies, "1bat.bak" and "1ans.bak",
rem which you can use to get back to base.
rem
rem Better yet, give alaCARTE at try ... it provides more space, provisions
rem for different categories, separate pages for different users, easy
rem editing, etc.
rem -= 0 =-
@echo off
echo
cd c:\
cls
type 1.ans
echo.
choice /c:1234567890 /N /T:0,30 What's Next?...
if errorlevel 10 goto ALASAVER '0
if errorlevel 9 goto DOS '9
if errorlevel 8 goto WINDOWS '8
if errorlevel 7 goto SEVENTH '7
if errorlevel 6 goto SIXTH '6
if errorlevel 5 goto FIFTH '5
if errorlevel 4 goto FOURTH '4
if errorlevel 3 goto THIRD '3
if errorlevel 2 goto SECOND '2
if errorlevel 1 goto FIRST '1
:FIRST
cls
1.bat
goto RESET
:SECOND
cls
1.bat
goto RESET
:THIRD
cls
1.bat
goto RESET
:FOURTH
cls
1.bat
goto RESET
:FIFTH
cls
1.bat
goto RESET
:SIXTH
cls
1.bat
goto RESET
:SEVENTH
cls
1.bat
goto RESET
:WINDOWS
cd c:\windows
win
goto RESET
:DOS
cd c:\
goto END
:ALASAVER
cd c:\
alasaver
goto RESET
:RESET
cd c:\
1.bat
goto END
:END